SensitivityLabel.CreateLabelInfo method (Office)
Creates a new LabelInfo object that can be passed to SetLabel method.
Syntax
expression.CreateLabelInfo ()
expression A variable that represents a SensitivityLabel object.
Return value
Note
Returns an empty LabelInfo object. The object should be filled by the user.
Example
The following example shows the usage of CreateLabelInfo method.
Dim myLabelInfo As Office.LabelInfo
Set myLabelInfo = ActiveDocument.SensitivityLabel.CreateLabelInfo()
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.