Wiki Markup |
---|
{description} {excerpt}Returns an {{Object}} that represents the value of the property specified.{excerpt} {signature:C#} public System.Object GetProperty(BuiltInProperty property) {signature}{signature:vb.net} Public Function GetProperty(ByVal [property] As BuiltInProperty) As Object {signature} {parameters} {param:property}A [BuiltInProperty|DocumentProperties.BuiltInProperty] object that represents the built\-in property to set.{param} {returns}An {{Object}} that represents the value of the property specified.{returns} {remarks}MS Word equivalent: File menu > Properties > Custom tab > Properties: {remarks} {example}{code:csharp|title=C#} //--- Return "Author" Property string priority = (string)docProps.GetProperty(DocumentProperties.BuiltInProperty.Author); {code} {code:vb.net|title=vb.net} '--- Return "Author" Property Dim priority As String = _ docProps.GetProperty(DocumentProperties.BuiltInProperty.Author) {code} {example} |
Page History
Overview
Content Tools